package com.ats.api.model

import reflect.BeanProperty
import com.ib.client.Contract

/**
 * Created by IntelliJ IDEA.
 * User: mchapala
 * Date: 2/10/12
 * Time: 9:58 PM
 * To change this template use File | Settings | File Templates.
 */


//public synchronized void reqHistoricalData(int tickerId, com.ib.client.Contract contract, java.lang.String endDateTime, java.lang.String durationStr, java.lang.String barSizeSetting, java.lang.String whatToShow, int useRTH, int formatDate) { /* compiled code */ }
class RequestHistoricalData {

  @BeanProperty
  var tickerId: Int = 0;

  @BeanProperty
  var contract: Contract = null;

  @BeanProperty
  var endDateTimeAsStr: String = "";

  @BeanProperty
  var durationStr: String = "";

  @BeanProperty
  var barSizeSetting: String = "";

  @BeanProperty
  var whatToShow: String = "";


  @BeanProperty
  var useRTH: Int = 0;

  @BeanProperty
  var formatDate: Int = 0;
}
